//
//  TabView.m
//  lcs_b
//
//  Created by 于会海 on 15/6/2.
//  Copyright (c) 2015年 LC. All rights reserved.
//

#import "RecordTabView.h"

@interface RecordTabView()
@property (strong, nonatomic) CADisplayLink *displayLink;
@property (nonatomic) CGFloat from;
@property (nonatomic) CGFloat to;
@property (nonatomic) BOOL animating;
@end

@implementation RecordTabView
{
    int status;
}

- (id)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [LCCommon getColor:Main_BackGround_Color];
    }
    return self;
}
- (void)setSelected:(BOOL)selected {
    _selected = selected;
    [self setNeedsDisplay];
}
- (void)drawRect:(CGRect)rect {
    UIView* view = [[UIView alloc] initWithFrame:CGRectMake(rect.size.width-1, 0,2 , 45)];
    view.backgroundColor = [LCCommon getColor:Main_BackGround_Color];
    [self addSubview:view];
//    if (self.selected) {
//        UIBezierPath *bezierPath;
//        bezierPath = [UIBezierPath bezierPath];
//        // Draw the indicator
//        [bezierPath moveToPoint:CGPointMake(40.0, rect.size.height-36)];
//        [bezierPath addLineToPoint:CGPointMake(rect.size.width-40, rect.size.height-36)];
//        [bezierPath setLineWidth:6.0];
//        [self.indicatorColor setStroke];
//        [bezierPath stroke];
//    }
//    
}

@end
